{extend name='user/public/layout' /}
{block name='content'}
<div class="overflow_h">
    <div class="screen">
        <div class="screen_box01 overflow_h">
            <ul>
                <li><a href="{:url('user.message/house')}">新房留言</a></li>
                <li><a href="{:url('user.message/group')}">团购报名</a></li>
                <li><a href="{:url('user.message/used')}" class="on">二手房留言</a></li>
                <li><a href="{:url('user.message/rental')}">出租房留言</a></li>
            </ul>
        </div>
    </div>
    <div class="user-nav">
        <table class="tab_list">
            <tr>
                <th style="width: 20%">留言时间</th>
                <th style="width:10%">留言类型</th>
                <th style="width: 30%">所属房源</th>
                <th style="width: 30%">备注</th>
                <th style="width: 10%">操作</th>
            </tr>
            {volist name="lists" id='vo' empty='<tr><td>暂无数据</td></tr>'}
            <tr>
                <td>{$vo.create_time|date='Y-m-d H:i:s',###}</td>
                <td>{:baomingType($vo['type'])}</td>
                <td><a href="{:url($model[$vo['model']].'/detail',['id'=>$vo['house_id']])}" target="_blank">{$vo.house_title}</a></td>
                <td>{$vo.memo}</td>
                <td><a href="{:url('user.message/detail',['id'=>$vo['id']])}">查看详细</a><td>
            </tr>
            {/volist}
        </table>
        <div class="plastic_bottom_pages">
            {$pages}
        </div>
    </div>
</div>

{/block}